import request from "../utils"

export let login = (loginname:string,password:string) => {
    return request({
        url:"/api/user/login",
        method:"POST",
        data:{
            loginname,password
        }
    })
}